#include "Delay.h"

void Delay1ms()		//@12.000MHz
{
	unsigned char data i, j;

	i = 12;
	j = 169;
	do
	{
		while (--j);
	} while (--i);
}

void Delay(unsigned char xms)
{

    while (xms > 0) {
        Delay1ms();
        xms--;
    }
}

void Delay10ms()
{
	Delay(10);
}